#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2018/11/15 1:49 PM
# @Author  : Frankie
# @Email   : zaihuazhao@163.com
# @File    : stats.py
import logging

from apps.baselogic.handlers.stats import BaseHandler
app_logger = logging.getLogger('django')


class Handler(BaseHandler):
    def __init__(self):
        BaseHandler.__init__(self, app_logger)
        self.METHOD_TAB = {
            'GET': {
                'get_class_stats': self.handle_get_class_stats,
                'get_students_stats': self.handle_get_students_stats,
                'get_teacher_stats': self.handle_get_teacher_stats,
            },
        }


handler = Handler()
